<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?><!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="/favicon.ico" >
    <link rel="Shortcut Icon" href="/favicon.ico" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="/public/js/html5shiv.js"></script>
    <script type="text/javascript" src="/public/js/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="/public/plugins/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="/public/plugins/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="/public/plugins/Hui-iconfont/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="/public/plugins/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="/public/plugins/h-ui.admin/css/style.css" />
    <link rel="stylesheet" href="http://cache.amap.com/lbs/static/main1119.css"/>
    <!--[if IE 6]>
    <script type="text/javascript" src="/public/js/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>快方管理后台</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <style type="text/css">

    </style>
</head>
<body class="big-page">
<form id="form1">
<table class="table table-border">
    <tr>
        <td>药品名称</td>
        <td>数量</td>
        <td>金额</td>
    </tr>
    <?php foreach($order_detail as $detail){?>
    <tr>
        <td><?=$detail['goods_name']?></td>
        <td><?=$detail['buy_num']?></td>
        <td><?=$detail['price']?></td>
    </tr>
    <?php }?>
    <tr>
        <td colspan="3" style="text-align: center;">
            <input type="button" name="express" class="btn btn-primary radius" value="发货">
            &emsp;
            <input type="button" name="cancel" class="btn radius" value="取消">
        </td>
    </tr>
</table>
</form>
<script src="http://webapi.amap.com/maps?v=1.3&key=30d49820c57fa434f5a8783322b817a8&plugin=AMap.PolyEditor,AMap.CircleEditor"></script>

<script type="text/javascript" src="/public/js/jquery.min.js"></script>
<script type="text/javascript" src="/public/plugins/layer/layer.js"></script>
<script type="text/javascript" src="/public/plugins/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="/public/plugins/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="/public/plugins/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
<script type="text/javascript">
$("input[name='cancel']").bind("click", function(){
    parent.layer.closeAll();
})
$("input[name='express']").bind("click", function(){
    window.location.href = "/OrderMgr/updateExpressInfo?order_id=<?=$order_id?>"
})
</script>
</body>
</html>
